#ifndef CTRLSETTING_H
#define CTRLSETTING_H

#include <QDialog>

class QTableView;
class QSqlRelationalTableModel;
class QDialogButtonBox;
class QPushButton;

class CtrlSettingDlg : public QDialog
{
    Q_OBJECT

public:
    CtrlSettingDlg(QWidget *parent = 0);

private slots:
    void edit();

private:
    void CreateWidget();
    void CreateLayout();

    QTableView *view;
    QPushButton *editBtn;
    QPushButton *closeBtn;
    QDialogButtonBox *buttonBox;
    QSqlRelationalTableModel *model;
};

#endif // CTRLSETTING_H
